package com.ojoin.trade.common_core.web.dao;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.springframework.data.domain.Pageable;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.dao.BaseDao;
import com.ojoin.trade.common_core.web.domain.TbTransferTokenStatus;
import com.ojoin.trade.common_core.web.domain.TransferErrorStatusInfo;

public interface TbTransferTokenStatusDao extends BaseDao<TbTransferTokenStatus> {

	public SqlSession getSqlSession();
	
	public int updateTransferTokenStatus(String token, int transstatus,String msg)
			throws BusinessException;
	
	public List<TransferErrorStatusInfo> queryDoingTransferList(Pageable page)
		throws BusinessException;

    public TransferErrorStatusInfo queryByToken(String token)throws BusinessException;
	
}
